#include <iostream>
#include <fstream>
#include <vector>
#include <string>
#include <map>
#include <afx.h>
using namespace std;
#pragma comment (linker,"/OPT:NOWIN98")

void keep_window()
{
	cout << "Please enter 'e' or 'E' to exit window \n";
	char ch;
	cin >> ch;
	if (ch=='e' || ch == 'E') exit(1);
}

void error(const string& msg, const string& p=" ")
{
	cerr << msg << ' ' << p << endl;
	exit(1);
}
